package com.atguigu.springboot.mapper;

import com.atguigu.springboot.bean.Employee;
import org.apache.ibatis.annotations.Mapper;

//使用@MapperScan或者@Mapper将接口扫描装配到容器中
//@Mapper,此处使用@MapperScan，在主类中
public interface EmployeeMapper {

    public Employee getEmpById(Integer id);

    public void insertEmp(Employee employee);
}
